<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" buffer="16kb" session="false" autoFlush="true"%>
<%@include file="/WEB-INF/jspf/tags.jspf" %><%@include file="/WEB-INF/jspf/config.jspf" %>
<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>WOW哇喔-每日分享-噢啦网</title>
        <script type="text/javascript" src="${CDN_DOMAIN}/js/txbase.js"></script>
        <script type="text/javascript" src="${CDN_DOMAIN}/js/scrollTop.js"></script>
        <link href="${CDN_DOMAIN}/css/v1/reset.css" rel="stylesheet" type="text/css">
        <link href="${CDN_DOMAIN}/css/v1/view.css" rel="stylesheet" type="text/css">
        <link href="${CDN_DOMAIN}/css/v1/all.css" rel="stylesheet" type="text/css">
        <script type="text/javascript">
            var gNavUserAgent = navigator.userAgent;
            var fixNoIE = function(){
                var ie6 = gNavUserAgent.toLowerCase().indexOf("msie 6")>0;
                if(!ie6){
                    $('head').append('<style>.header{margin-top:32px!important;}</style>');
                }
            };
        </script>
    </head>
    <body>
        <div id="topnav"><%@include file="/WEB-INF/jspf/topnav.jspf" %></div>
        <div class="header clear"></div>
        <div class="container">
            <div class="infoNav">WoW哇喔：分享是一种态度</div>
            <ul id="infoListGrid">
                <c:if test="${!(empty root.list)}">
                    <c:forEach var="info" items="${root.list}">
                        <li class="box">
                            <a class="img" href="${INFO_DOMAIN}/info/view/${info.infoid}" target="_blank" title="${info.title}">
                                <img src="${tx:getResizeImgUrl(info.pic,"ms",NOIMG_SRC)}" alt="${info.title}" title="${info.title}(图文)"/>
                            </a>
                            <h4><a href="${INFO_DOMAIN}/info/view/${info.infoid}" target="_blank" style="color:${info.tcolor}">${info.title}</a></h4>
                            <p><span>${info.summary}...(${tx:formatDate(info.pubtime,10)})</span></p>
                            <p class="snshare" id="snshare${info.infoid}" data-id="${info.infoid}" data-title="${info.title}" data-url="${INFO_DOMAIN}/info/view/${info.infoid}" data-pic="${info.pic}" data-summary="${fn:substring(info.summary,0,64)}"></p>
                            <p><span>围观${info.hitnum}次</span></p>
                        </li>
                    </c:forEach>
                </c:if>
            </ul>
            <div id="allpage" class="clear tc f16">
                <c:if test="${!(empty root.extdata.prevpage)}"><a href="${INFO_DOMAIN}/info/all/${root.extdata.prevpage}" title="哇喔每日分享-第${root.extdata.prevpage}页,噢啦网">上一页</a></c:if>
                <span>第<i>${root.extdata.pageno}</i> 页</span>
                <c:if test="${!(empty root.extdata.nextpage)}"><a href="${INFO_DOMAIN}/info/all/${root.extdata.nextpage}" title="哇喔每日分享-第${root.extdata.nextpage}页,噢啦网">下一页</a></c:if>
            </div>
            <div class="footer">
                <%@include file="/WEB-INF/jspf/foot.jspf" %>
            </div>
        </div>

        <script type="text/javascript" src="${CDN_DOMAIN}/js/jq.masonry.js"></script>
        <script type="text/javascript" src="${CDN_DOMAIN}/js/v1/common.js"></script>
        <script>
            fixNoIE();
            scrolltotop.init();
            $(function(){
                var jqInfoListGrid = $('#infoListGrid');
                jqInfoListGrid.imagesLoaded(function(){
                    jqInfoListGrid.masonry({
                        itemSelector: '.box'
                    });
                    initShare('p.snshare');
                });
            });
        </script>
        <div style="display:none;"><script type="text/javascript" src="http://cdn.uuola.cn/js/trace.js"></script></div>
    </body>
</html>